#! python

# math

import math

print math.cos(math.pi / 4.0)

print math.log(1024, 2)

